home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / disk / bakup / SortCopy.readme < prev   
Text File  |  1997-09-05  |  6KB  |  150 lines

  1. Short:    Tiny directory/link copy program
  2. Author:   thor@einstein.math.tu-berlin.de
  3. Uploader: thor@einstein.math.tu-berlin.de
  4. Type:     disk/bakup
  5.  
  6. _____________________________________________________________________________
  7.  
  8.                         The THOR-Software Licence
  9.  
  10.  
  11. This License applies to the computer programs known as "SortCopy". 
  12. The "Program", below, refers to such program.
  13.  
  14.  
  15. The programs and files in this distribution are freely distributable
  16. under the restrictions stated below, but are also Copyright (c)
  17. Thomas Richter.
  18.  
  19.  
  20. Distribution of the Program by a commercial organization without written
  21. permission from the author to any third party is prohibited if any payment
  22. is made in connection with such distribution, whether directly
  23. (as in payment for a copy of the Program) or indirectly (as in payment
  24. for some service related to the Program, or payment for some product
  25. or service that includes a copy of the Program "without charge";
  26. these are only examples, and not an exhaustive enumeration of prohibited
  27. activities). However, the following methods of distribution involving
  28. payment shall not in and of themselves be a violation of this restriction:
  29.  
  30.  
  31. (i) Posting the Program on a public access information storage and
  32. retrieval service for which a fee is received for retrieving information
  33. (such as an on-line service), provided that the fee is not
  34. content-dependent (i.e., the fee would be the same for retrieving the same
  35. volume of information consisting of random data).
  36.  
  37.  
  38.  
  39. (ii) Distributing the Program on a CD-ROM, provided that the files
  40. containing the Program are reproduced entirely and verbatim on such
  41. CD-ROM, and provided further that all information on such CD-ROM be
  42. redistributable for non-commercial purposes without charge.
  43.  
  44.  
  45.  
  46. Everything in this distribution must be kept together, in original
  47. and unmodified form.
  48.  
  49.  
  50.  
  51.  
  52. Limitations.
  53.  
  54. THE PROGRAM IS PROVIDED TO YOU "AS IS," WITHOUT WARRANTY. THERE IS NO
  55. WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
  56. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  57. PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE
  58. RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
  59. THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
  60. SERVICING, REPAIR OR CORRECTION.
  61.  
  62.  
  63.  
  64. IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE ALL FILES CONTAINED IN
  65. THIS ARCHIVE.
  66.  
  67. _____________________________________________________________________________
  68.  
  69. Purpose of this program:
  70.  
  71.  
  72. Copy one or multiple directories. This is absolutely nothing new, but unlike
  73. other copy tools, this one tries to copy links as well. If the link source
  74. and the link destination is copied, "SortCopy" will erase the link 
  75. destination and re-create the link to the copy of the link source. This
  76. works for both, SoftLinks and HardLinks, as well as links to directories
  77. as long as the directory and the link to the directory is copied.
  78.  
  79. As a tiny extra, it keeps the destination directories alphabetically sorted.
  80.  
  81. You may also choose to copy only files with the "a" (archive bit) reset, or
  82. set the "a" bit of files copied.
  83.  
  84. All this makes "SortCopy" useful for a very simple backup procedure, as it
  85. re-creates a one to one image of the directory you want to copy. The
  86. same program can be used to restore the copy.
  87.  
  88.  
  89. Synopsis:
  90.  
  91. SortCopy FROM/A,TO/A,QUIET/S,QUIETER/S,SETARCHIVE/S,NONAONLY/S,
  92.      OVERWRITE/S,LEAVEEMPTY/S,DELETECOPIED/S,FORCE/S
  93.  
  94. FROM:        Source directory or source directories. 
  95.         Wildcards are allowed here.
  96. TO:        Destination of the copy operation. No wildcards allowed.
  97. QUIET:        Suppresses printing the file names being copied.
  98. QUIETER:    Suppresses all messages except errors and warnings.
  99. SETARCHIVE:    Set the archive bit after copying.
  100. NONAONLY:    Copies only files with the A bit cleared, i.e. non-
  101.         archived files. All directories are copied unless they 
  102.         contain only archived files and directories.
  103. OVERWRITE:    Overwrite destination files, even though they are
  104.         write protected.
  105. LEAVEEMPTY:    Don't delete empty directories in the destination,
  106.         unlike what is usually done if no file worth copying
  107.         is in this directory (i.e. no file with a reset a-bit).
  108. DELETECOPIED:    Delete the source files after copying. This delete operation
  109.         is cancelled if some error or warning occurred during the
  110.         copy operation before.
  111. FORCE:        Delete also files that are protected from deletion.
  112.  
  113. UPDATE:        Somewhat similar to NONAONLY, this option attempts to copy
  114.         only those files to the destination that are not up to date.
  115.         Source and destination files are, however, not compared byte
  116.         by byte. Instead, the file size and the creation date are
  117.         compared - if they are the same, source and destination
  118.         files are considered to be identical and the source is not
  119.         copied.
  120.  
  121.  
  122. _____________________________________________________________________________
  123.  
  124. Changes made since 1.05:
  125.  
  126.     Added the UPDATE command line option. See above for details.
  127.  
  128. _____________________________________________________________________________
  129.  
  130. Changes made since 1.06:
  131.  
  132.     SortCopy will now create a destination directory if it isn't
  133.     already present.
  134.     The archive bit messages are now a bit shorter.
  135. _____________________________________________________________________________
  136.  
  137.  
  138.  
  139. Thomas,        August 1997
  140.  
  141.  
  142. ============================= Archive contents =============================
  143.  
  144. Original  Packed Ratio    Date     Time    Name
  145. -------- ------- ----- --------- --------  -------------
  146.     9692    4792 50.5% 21-Aug-97 19:56:00  SortCopy
  147.     5318    2349 55.8% 21-Aug-97 19:55:50  SortCopy.readme
  148. -------- ------- ----- --------- --------
  149.    15010    7141 52.4% 24-Aug-97 23:43:34   2 files
  150.